package com.monitor.dao;

import com.monitor.po.EnvironmentRecord;
import com.monitor.util.Pager;

public interface EnvironmentRecordDao {

	Pager<EnvironmentRecord> getEnvironmentRecordByUid(long uid, int pageSize, int currentPage) throws Exception;

	void saveEnvironmentRecord(EnvironmentRecord record) throws Exception;

	int deleteEnvironmentRecordByUid(long uid) throws Exception;

	EnvironmentRecord getEnvironmentRecordById(Long id) throws Exception;

	void deleteEnvironmentRecord(EnvironmentRecord record) throws Exception;
}
